package com.start.workflow.core.mappers;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.start.workflow.entity.StartActBusinessEntity;
import com.start.workflow.vo.StartActBusinessVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface StartActBusinessMapper extends BaseMapper<StartActBusinessEntity> {

    @Select("select * from start_act_business ${ew.customSqlSegment}")
    Page<StartActBusinessVo> pageBusiness(@Param("page") Page<StartActBusinessVo> page, @Param("ew") Wrapper<StartActBusinessVo> wrapper);
}
